package game;


import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author s1121903
 */
public class Node {
    List<Node> children;
    String value;
    boolean isLeaf;

    public Node() {
        children = new ArrayList<Node>();
    }
    
    public void addElement(List<String> vector)
    {
        for(int i = 0; i < vector.size(); i++)
        {
            String element = vector.get(i);
            String[]args = element.split(" ");
            addElement(vector.subList(i, vector.size()));
        }
    }
}
